﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Teacher_Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        SqlDataSource1.SelectCommand = "SELECT t_teacher.teacId, t_teacher.name, t_teacher.password, t_teacher.age, t_teacher.sex, t_teacher.scurityNo, t_teacher.email, t_teacher.phone, t_teacher.registerDate, t_course.name AS Expr1 FROM t_teacher INNER JOIN t_course ON t_teacher.courseId = t_course.id and t_teacher.id='" + Session["id"].ToString() + "'";
    }
}
